package com.firefly.dao.dao.cms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.firefly.dao.dao.cms.po.CategoryPo;
import com.firefly.dao.vo.cms.CategoryVo;

import java.util.List;

public interface CategoryMapper extends BaseMapper<CategoryPo> {
    // 取所有栏目
    public List<CategoryVo> getAll();
    // 单条带父id
    public CategoryVo getDetail(int id);
}

